//
//  Filter.h
//  JinliWallet
//
//  Created by 张玮 on 2018/10/17.
//  Copyright © 2018年 张玮. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "BaseViewController.h"

#import "ResponseClass.h"
NS_ASSUME_NONNULL_BEGIN

@interface Filter : NSObject



+(void)filterWithServerCode:(ResponseClass *)response
                withItem:(id)item
                withPassBlock:(void (^)(id paginationObj , id resonseObj ,BOOL isSuccess ,NSString *message))block;

+(void)filterWithHttpCode:(NSError *)error withPassBlock:(void (^)(NSUInteger code, NSString *message))block;

@end

NS_ASSUME_NONNULL_END
